<?php include 'application/views/header.php' ?>
<h4 class="page-title">Trang tĩnh</h4>
<table width="100%" class="list list-pages">
    <tr>
        <th>STT</th>
        <th>Tên trang</th>
        <th>Tiêu đề trang</th>
        <th>Mã của trang</th>
        <th>Thao tác</th>
    </tr>
    <?php $index = 1 ?>
    <?php foreach($Pages as $page): ?>
    <tr>
       <td><?php echo $index++ ?></td>
       <td><?php echo $page['PageName'] ?></td>
       <td><?php echo $page['PageTitle'] ?></td>
       <td><?php echo $page['PageCode'] ?></td>
       <td>
            <a href="<?php echo base_url() ?>page/edit/<?php echo $page['PageId'] ?>.html">
                <div class="actEdit">Edit</div>
            </a>
       </td>
    </tr>
    <?php endforeach; ?>
</table>
<?php include 'application/views/footer.php' ?>